package hcn.response;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * Created by ChenJij on 2023/3/30.
 */
@XmlRootElement(name = "Data")
public class GetPrescriptionSetDetailResponse {
    private List<SetDerailList> setDerailLists;

    @XmlElementWrapper(name = "SetDetailLists")
    @XmlElement(name = "SetDetailList")
    public List<SetDerailList> getSetDerailLists() {
        return setDerailLists;
    }

    public void setSetDerailLists(List<SetDerailList> setDerailLists) {
        this.setDerailLists = setDerailLists;
    }

    @XmlRootElement(name = "SetDetailList")
    public static class SetDerailList {
        private String prescriptionDrugId;
        private String commonPrescriptionInfoId;
        private String orgId;
        private String orgDrugId;
        private String orgDrugName;
        private String orgFactoryId;
        private String orgFactoryName;
        private String extraData;
        private String drugType;
        private int drugId;
        private String drugName;
        private double quantity;
        private double dose;
        private String doseUnit;
        private int takeDays;
        private String frequencyCode;
        private String frequencyName;
        private String usageCode;
        private String usageName;
        private String specification;
        private String skinTestFlag;
        private String decoctionCode;
        private String decoctionName;
        private int groupNumber;
        private int sortNumber;
        private String packUnit;
        private String remark;
        private String footNoteCode;
        private String footNoteName;
        private String status;
        private double price;
        private Integer numberOfPackets;
        private String boilSign;

        @XmlElement(name = "DrugType")
        public String getDrugType() {
            return drugType;
        }

        public void setDrugType(String drugType) {
            this.drugType = drugType;
        }

        @XmlElement(name = "BoilSign")
        public String getBoilSign() {
            return boilSign;
        }

        public void setBoilSign(String boilSign) {
            this.boilSign = boilSign;
        }

        public String getPrescriptionDrugId() {
            return prescriptionDrugId;
        }

        public void setPrescriptionDrugId(String prescriptionDrugId) {
            this.prescriptionDrugId = prescriptionDrugId;
        }

        public String getCommonPrescriptionInfoId() {
            return commonPrescriptionInfoId;
        }

        public void setCommonPrescriptionInfoId(String commonPrescriptionInfoId) {
            this.commonPrescriptionInfoId = commonPrescriptionInfoId;
        }

        public String getOrgId() {
            return orgId;
        }

        public void setOrgId(String orgId) {
            this.orgId = orgId;
        }

        @XmlElement(name = "DrugsNumber")
        public String getOrgDrugId() {
            return orgDrugId;
        }

        public void setOrgDrugId(String orgDrugId) {
            this.orgDrugId = orgDrugId;
        }

        @XmlElement(name = "DrugName")
        public String getOrgDrugName() {
            return orgDrugName;
        }

        public void setOrgDrugName(String orgDrugName) {
            this.orgDrugName = orgDrugName;
        }

        @XmlElement(name = "DrugProductionPlaceId")
        public String getOrgFactoryId() {
            return orgFactoryId;
        }

        public void setOrgFactoryId(String orgFactoryId) {
            this.orgFactoryId = orgFactoryId;
        }

        @XmlElement(name = "DrugProductionPlace")
        public String getOrgFactoryName() {
            return orgFactoryName;
        }

        public void setOrgFactoryName(String orgFactoryName) {
            this.orgFactoryName = orgFactoryName;
        }

        public String getExtraData() {
            return extraData;
        }

        public void setExtraData(String extraData) {
            this.extraData = extraData;
        }

        public int getDrugId() {
            return drugId;
        }

        public void setDrugId(int drugId) {
            this.drugId = drugId;
        }

        public String getDrugName() {
            return drugName;
        }

        public void setDrugName(String drugName) {
            this.drugName = drugName;
        }

        @XmlElement(name = "DrugSendNumber")
        public double getQuantity() {
            return quantity;
        }

        public void setQuantity(double quantity) {
            this.quantity = quantity;
        }

        @XmlElement(name = "OnceDosage")
        public double getDose() {
            return dose;
        }

        public void setDose(double dose) {
            this.dose = dose;
        }

        @XmlElement(name = "DosageUnit")
        public String getDoseUnit() {
            return doseUnit;
        }

        public void setDoseUnit(String doseUnit) {
            this.doseUnit = doseUnit;
        }

        @XmlElement(name = "MedicineDays")
        public int getTakeDays() {
            return takeDays;
        }

        public void setTakeDays(int takeDays) {
            this.takeDays = takeDays;
        }

        @XmlElement(name = "DrugUsingRate")
        public String getFrequencyCode() {
            return frequencyCode;
        }

        public void setFrequencyCode(String frequencyCode) {
            this.frequencyCode = frequencyCode;
        }

        @XmlElement(name = "DrugUsingRateName")
        public String getFrequencyName() {
            return frequencyName;
        }

        public void setFrequencyName(String frequencyName) {
            this.frequencyName = frequencyName;
        }

        @XmlElement(name = "DrugUsePathwaysCode")
        public String getUsageCode() {
            return usageCode;
        }

        public void setUsageCode(String usageCode) {
            this.usageCode = usageCode;
        }

        @XmlElement(name = "DrugUsePathwaysName")
        public String getUsageName() {
            return usageName;
        }

        public void setUsageName(String usageName) {
            this.usageName = usageName;
        }

        @XmlElement(name = "DrugSpecifications")
        public String getSpecification() {
            return specification;
        }

        public void setSpecification(String specification) {
            this.specification = specification;
        }

        public String getSkinTestFlag() {
            return skinTestFlag;
        }

        public void setSkinTestFlag(String skinTestFlag) {
            this.skinTestFlag = skinTestFlag;
        }

        @XmlElement(name = "HerbalMedicineDecoction")
        public String getDecoctionCode() {
            return decoctionCode;
        }

        public void setDecoctionCode(String decoctionCode) {
            this.decoctionCode = decoctionCode;
        }

        @XmlElement(name = "HerbalMedicineDecoctionName")
        public String getDecoctionName() {
            return decoctionName;
        }

        public void setDecoctionName(String decoctionName) {
            this.decoctionName = decoctionName;
        }

        @XmlElement(name = "DrugsGroupNumber")
        public int getGroupNumber() {
            return groupNumber;
        }

        public void setGroupNumber(int groupNumber) {
            this.groupNumber = groupNumber;
        }

        @XmlElement(name = "SortNumber")
        public int getSortNumber() {
            return sortNumber;
        }

        public void setSortNumber(int sortNumber) {
            this.sortNumber = sortNumber;
        }

        @XmlElement(name = "DrugstoreUnit")
        public String getPackUnit() {
            return packUnit;
        }

        public void setPackUnit(String packUnit) {
            this.packUnit = packUnit;
        }

        @XmlElement(name = "Remark")
        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        @XmlElement(name = "HerbalFootNote")
        public String getFootNoteCode() {
            return footNoteCode;
        }

        public void setFootNoteCode(String footNoteCode) {
            this.footNoteCode = footNoteCode;
        }

        @XmlElement(name = "HerbalFootNoteName")
        public String getFootNoteName() {
            return footNoteName;
        }

        public void setFootNoteName(String footNoteName) {
            this.footNoteName = footNoteName;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        @XmlElement(name = "DrugUnitPrice")
        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        @XmlElement(name = "PiecesChineseMedicineAgentNumb")
        public Integer getNumberOfPackets() {
            return numberOfPackets;
        }

        public void setNumberOfPackets(Integer numberOfPackets) {
            this.numberOfPackets = numberOfPackets;
        }
    }
}